package com.example.administrator.yuejian_2.interservice;

<<<<<<< HEAD
import com.example.administrator.yuejian_2.bean.MasterAnswerAddBean;
import com.example.administrator.yuejian_2.bean.MasterAnswerBean;
import com.example.administrator.yuejian_2.bean.MasterCourseBean;
import com.example.administrator.yuejian_2.bean.MasterDetailBean;
import com.example.administrator.yuejian_2.bean.MasterListBean;
=======
import com.example.administrator.yuejian_2.bean.MasterCourseBean;
import com.example.administrator.yuejian_2.bean.MasterDetailBean;
import com.example.administrator.yuejian_2.bean.MasterListBean;
import com.example.administrator.yuejian_2.viewholder.MaListVH;
>>>>>>> b079ae49aea3652b48f9c84201c89333c2f216f2

import java.util.List;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/2.
 */

public interface MasterService {
    @POST("Master/masterlist")
    Call<List<MasterListBean>> masterlist();

    @POST("Master/getmaster")
    Call<MasterDetailBean> getmaster(@Query("cid") int cid);

    @POST("Master/classlist")
    Call<List<MasterCourseBean>> classlist(@Query("mid") int mid);

<<<<<<< HEAD
    @POST("Master/maanswer")
    Call<List<MasterAnswerBean>> maanswer(@Query("mid") int mid);

    @POST("Master/answeradd")
    Call<MasterAnswerAddBean> answeradd(@Query("an_mid") int mid,
                                        @Query("an_uid") int an_uid,
                                        @Query("an_ques") String an_ques);

=======
>>>>>>> b079ae49aea3652b48f9c84201c89333c2f216f2
}
